{% extends 'TopxiaWebBundle:CourseManage:layout.html.twig' %}

{% block title %}题目导入/导出 - {{ parent() }}{% endblock %}

{% block main %}

<div class="panel panel-default panel-col">
  <div class="panel-heading">
    题目批量导入/导出
  </div>

  <div class="panel-body">
    <ul class="nav nav-tabs">
      <li class="{% if type == 'import' %}active{% endif %}"><a href="{{ path('course_question_plumber', {courseId:course.id, type:'import'}) }}">导入</a></li>
      <li class="{% if type == 'export' %}active{% endif %}"><a href="{{ path('course_question_plumber', {courseId:course.id, type:'export'}) }}">导出</a></li>
    </ul>
    <br>
    
    {% block type %}{% endblock %}

  </div>
</div>

{% endblock %}

